package com.xunk.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 网关启动程序
 * 
 * @author ruoyi
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
@EnableFeignClients(basePackages = "com.xunk.system.api")
public class XunkGatewayApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(XunkGatewayApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  Xunk网关启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "    __    _                 \n" +
                "   / /_  (_)___  ____ _____ \n" +
                "  / __ \\/ / __ \\/ __ `/ __ \\\n" +
                " / /_/ / / / / / /_/ / /_/ /\n" +
                "/_.___/_/_/ /_/\\__, /\\____/ \n" +
                "              /____/        \n");
    }
}
